package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Strategy;
import cn.wolfcode.trip.base.domain.StrategyTags;
import cn.wolfcode.trip.base.query.StrategyQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author by mycp
 * @Classname IStrategyService
 * @Description TODO
 * @Date 2018/11/7 22:03
 */
public interface IStrategyTagsService {

    /**
     * 保存或修改攻略标签
     * @param tags
     * @param myTags
     * @return
     */
    void saveOrUpdate(Long strategyId,String[] tags,String[] myTags);

    /**
     * 根据攻略id查询赞同数前十的标签
     * @param strategyId
     * @return
     */
    List<StrategyTags> listNeedByStrategyId(Long strategyId);
}
